<?php
class OrderModel extends RelationModel{
	public $_link = array(
			'Member'=>array(
				'mapping_type'  =>ONE_TO_ONE, 
			    'class_name'  =>'Member',
			    'mapping_name' => 'Memeber',
			    'foreign_key' => 'member_id'),

			'Product'=>array(
				'mapping_type'  =>HAS_MANY, 
			    'class_name'  =>'Product',
			    'mapping_name' => 'Products',
			    'foreign_key' => 'product_id'),
	 
			'Express'=>array(
				'mapping_type'  => ONE_TO_ONE, 
			    'class_name'  =>'Express',
			    'mapping_name' => 'Express',
			    'foreign_key' => 'express_corp_id'),

	);
}